package com.pap.datas.dict.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_data_dict_detail", namespace = "com.pap.datas.dict.auto.mapper.DictDetailMapper", remarks = " 修改点 ", aliasName = "t_data_dict_detail t_data_dict_detail")
public class DictDetail extends PapBaseEntity implements Serializable {
	/**
	 * 编码,所属表字段为t_data_dict_detail.CODE
	 */
	@MyBatisColumnAnnotation(name = "CODE", value = "t_data_dict_detail_CODE", chineseNote = "编码", tableAlias = "t_data_dict_detail")
	private String code;

	/**
	 * 名称,所属表字段为t_data_dict_detail.NAME
	 */
	@MyBatisColumnAnnotation(name = "NAME", value = "t_data_dict_detail_NAME", chineseNote = "名称", tableAlias = "t_data_dict_detail")
	private String name;

	/**
	 * 数据值,所属表字段为t_data_dict_detail.NUM_VALUE
	 */
	@MyBatisColumnAnnotation(name = "NUM_VALUE", value = "t_data_dict_detail_NUM_VALUE", chineseNote = "数据值", tableAlias = "t_data_dict_detail")
	private String numValue;

	/**
	 * 字符值,所属表字段为t_data_dict_detail.STR_VALUE
	 */
	@MyBatisColumnAnnotation(name = "STR_VALUE", value = "t_data_dict_detail_STR_VALUE", chineseNote = "字符值", tableAlias = "t_data_dict_detail")
	private String strValue;

	/**
	 * 所属字典编号,所属表字段为t_data_dict_detail.DICT_ID
	 */
	@MyBatisColumnAnnotation(name = "DICT_ID", value = "t_data_dict_detail_DICT_ID", chineseNote = "所属字典编号", tableAlias = "t_data_dict_detail")
	private String dictId;

	private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumValue() {
		return numValue;
	}

	public void setNumValue(String numValue) {
		this.numValue = numValue;
	}

	public String getStrValue() {
		return strValue;
	}

	public void setStrValue(String strValue) {
		this.strValue = strValue;
	}

	public String getDictId() {
		return dictId;
	}

	public void setDictId(String dictId) {
		this.dictId = dictId;
	}
	
	@Override
	public String getDynamicTableName() {
		return "t_data_dict_detail";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", code=").append(code);
		sb.append(", name=").append(name);
		sb.append(", numValue=").append(numValue);
		sb.append(", strValue=").append(strValue);
		sb.append(", dictId=").append(dictId);
		sb.append("]");
		return sb.toString();
	}
}